package com.sy.dto;

import com.sy.entity.Trainer;

public class TrainersDto {
    private Integer driSchoolId;
    private String driName;
    private Trainer trainer;

    public TrainersDto() {
    }

    public TrainersDto(Integer driSchoolId, String driName, Trainer trainer) {
        this.driSchoolId = driSchoolId;
        this.driName = driName;
        this.trainer = trainer;
    }

    public Integer getDriSchoolId() {
        return driSchoolId;
    }

    public void setDriSchoolId(Integer driSchoolId) {
        this.driSchoolId = driSchoolId;
    }

    public String getDriName() {
        return driName;
    }

    public void setDriName(String driName) {
        this.driName = driName;
    }

    public Trainer getTrainer() {
        return trainer;
    }

    public void setTrainer(Trainer trainer) {
        this.trainer = trainer;
    }

    @Override
    public String toString() {
        return "TrainersDto{" +
                "driSchoolId=" + driSchoolId +
                ", driName='" + driName + '\'' +
                ", trainer=" + trainer +
                '}';
    }
}
